!R
changed rendering method,
added states to tiles,
to remove bool active and bool occupied,
minor refactorings