SDL Tutorial for 2d game engine written in c++