Pseudo Code for Robot

reviewed by nathan