Magic Box puzzle