First version of working riddle solution.