Tennis Score problem for OOPs concepts