Python text application for scoring baseball games