renamed minimax to ai
added different difficulties
add randomness