module for computing exact win rate in cs61a fa13 hog game