Wordsearch solver for the course: Foundations of Programming