Implement BFS to Find Shortest Path in Graph | Amazon