Updated main.cpp and changed Cube to be PoD
Updated main.cpp and changed Cube to be PoD