Create AB_check.cpp

AB_check