Ziqi added bip function in bsq.h and added bip.h file