Study of strongly correlated spin systems using density matrix embedding theory