Logic, Problem Solving, and Riddles