Implemented a little bit of physics