made it output a plan
added function to output plan correct
added cout functionality for GraphState
fixed bug in comparison function
moved some code