improve win condition code
add gregbot AI
improve gregbot