Changed AI execution. #solve is changed to #execute which returns a boolean if a shift happened. #next was included to determine the move in which #execute calls.