Added functions to get grid and word list, code to run program.