fixing code structure for bowling game class