New implementation of minmax search