My attempt at creating an efficient Physics Engine