baseball calculation application using maxflow/mincut algs