Modified negamax, increased mate depth when queen is close to king, and gave castling moves higher priority in MoveSorting