updated main.cpp

progress on tutorial, understanding of sdl