Added spritesheet functionality

The TileMap class can now read a spritesheet instead of individual
images