Compressible hydrodynamic flow of liquid crystals in 1-D