Michael: fixed makeshift test tree, sorry didnt have time to day to touch the min-max algorithm