Code for an NXT Mindstorm robot which was used in an NXT Mindstorm Sumo Robot competition at KTH.