Minor changes to make program work with SDL 2. Added gitignore file.