refactored - added human and computer classes