Refactored player processing logic into function.

Refactoring into a function allows us to cleanly process pitchers, too,
who where being left out previously.