alpha-beta pruning added
made get_row local and modified is_row/col/diag_win to be more concise and more universal