Implemented gravitational pull, still has a bug.