xxdrp & calculate_hash fixes

It was little mistake in previous xxdrp realization. Now it works fine and optimized (using coreutils power).

Also ```cut -d " " -f 1``` in calculate_hash() should be few pipes earlier.

Now it looks like a charm :D
Merge pull request #8 from msva/patch-1

xxdrp & calculate_hash fixes