A bit of recursion and essentially a path finding app for words