Slightly modified the ComputerPlayer class