Implement Breadth-First-Search algorithm with tests

Path variable is assigned but never used.