Commit before I fewk things up

I'm making some major changes to the tiles[][] array so I can work with
it dynamically - so I'll commit this working code and then branch off
with possibly buggy stuff seperately to avoid damaging the project.