extended evaluation function from connect4 to connectN
fixed C++ style array declaration, made check more efficient, added another heuristic function for experimentation purposes