[DSA][Graph] Walls and Gates

Leetcode 286