finished parameter functions, onto alphabeta search