Implemented breadth-first search algorithm
Implemented Path class