Computers in Physics Education: an example dealing with collision phenomena