Updated walker.h and pairinghamiltonian.h to handle case where levels = NP