added new functionality

heuristic, minmax, etc.