How To Solve Logical Puzzles