A simulator for robots programmed in the NXC language