added function handle visualizer and cleaned up xcubed example (to live in one file)
added grid world example