added get_pitches function to main.py to return pitch elements of an inning.xml file