Implementation of a Quantum Algorithm for Deutsch-Jozsa Problem with Improved Nuclear Magnetic Resonance Sequences