Update Main.cpp

added glfwDestroyWindow and glfwTerminate