working on utility library

working on teams batting average.