added in heuristic addition for the minimax to clean up which it's looking for