port all baseball exercises to python