implemented sample dmrg code in sample directory