Motion detected rubik's cube solver