Simple computer science game. Lab A12.7