added heuristic function

rateBoard is now returning a value based on the number of pieces on each
side of the board.