Minimax function

Made improvements to unnamed minimax function, added heuristic value
constants