Interaction Energy Of Two Magnetic Blocks