Solving Electrical Engineering Puzzles Using Spatial Reasoning