Added opening and closing the picture -- seems to work properly. Also added a JPEG for testing purposes, and a .gitignore for usefulness.