Updated main.cpp to a complete version

Last update, it is fully functional now!!! Including new game and game over screens (fully customized and original work) and obstacles randomly generated.