Implemented connect-4 api