using for learning sdl, follow http://lazyfoo.net/SDL_tutorials/