reorganized connect four functions into separate header and source files