remove_variable function

Removes a variable from the Graph