My implementation of the toy robot coding test