A little simulation to teach the basics of programming