rotating magic bean cube