main.cpp draws cube