Added ability to read BMP files

Now the app can read PPM and BMP files.