strategy pattern baseball exam add