Find shortest relationship path using BFS | Google Interview Question