AN IMPORTANCE SAMPLING ALGORITHM FOR GENERATING EXACT EIGENSTATE OF THE NUCLEAR HAMILTONIAN