robot now working with new internal state. buggy still and jail drawing issue remains