Objective-C implementation of the Tennis program originally written in C++.