removed optimizations while implenting pruning
refactored ai minimax
implemented pruning