Refactored moveWithHighestValue()
Created removeIllegalMoves method for AI