Added BN.cpp which contains NB and TAN