Learning how to use SDL