Implemented generic quantum number class. It may work except for printing function