add OO solutions to BFS maze solver