At least it draws something. Added the tile code, and rendering logic