Several exercise simulations for a computational physics course