Fixed bug where wall tiles were draw before the player.
Added a function for setting a tile