IntelligentTiles

Implemented simplistic intelligence in the tile system. I need to make
it it's own class, but for the purposes of functionality it's all there.