Refactored x in a row checking to be more modular. Implementing minimax scoring. Ranked heuristics.