A word search programming challenge