CPSC 481 Assignment 1: mini-max algorithm and heuristic functions