Added coldbir implementation for twoway graph