How to solve Hanjie Puzzles