Computer simulation in the classroom