Sample code for using SDL (Simple DirectMedia Layer)