Code, robots and stuff

I'm on the bus on my way home from work right now. Sitting here thinking
about how the heck I' going to program the thing. I think that the maze solving will prove
most challenging. The idea is to record the path, optimize it and reverse it.
The reverse should be fairly easy. Reverse all turns and read the path backwards.
For the optimization I'll have to get out pen and paper and do a schematic.