AN IMPORTANCE SAMPLING ALGORITHM FOR DIAGONALIZING THE NUCLEAR SHELL MODEL HAMILTONIAN