Basic implementation of verlet integration with point mass