Create cube.cpp

cube c++ file