Added historyheuristic to AI