Bug fix in tilemap constructor and resize #25
Created test for update and #25
Finished TileMap implementation(closes #25)