/*
 * Given a 2d matrix with characters and a dictionary. 
 * Find all the valid words in the 2d matrix. 
 * The words can be towards right, left , up or down. Exact code to be
given.
 */