How to Solve IQ Puzzles