wip
initialised positionToExplore queue
algorithm in place
correct but ugly solution
preparing solution
refactoring solution
further refactoring
further refactoring
solution cleanup
solution cleanup