Tinder Interview Question

Implement BFS algorithm