update rotateTopRow(names, numberOfCols, degrees)