Computer Science code from class