Vs2010 c++ three chess program