First commit. Script works, but has the tile sizes hardcoded. TODO... I guess.