cleaned up code 1
more code cleanup and visualization of bot's position now works correctly.