baseball ruby script