Blocks Puzzle of logic