Simple physics script. Total of 11 lines of code