Simple simulator to learn python