Create gravity.cpp