connect 4 implementation with nvidia cuda for AI