overloaded ostream for states. Started a test program for gridworld