implementation of Connect Four game