Implemented basic gravity