Add solution to word search of leetcode