Code for a Soccer Robot