A programmed solution to the 'move-the-box' iphone game