some refactoring, added floodFill
added flood filled obstacles
added experimental rotation of obstacles