[LC] Added solution to word search.