Breadth First Search Algorithm Leetcode Solutions