Small physics particle simulation (University assignment)