Magnetic Pattern Blocks