added logic that finds an empty square for newly spawned buildings
added highlighting of selected buildings