Modified Eval Function

Eval function is modified to take goal states into consideration. Please
change IsGoal to return int type or else it won't know whether the enemy
wins or the computer wins.