Program that plays chess