Flood Fill Algorithm Leetcode 150