Modified gitignore and fleshed out main algorithm

Gitignore has been updated. imad.cpp has been further written and now
reads in the images to the tile buffer (in theory).