Piecewise hashing

fixed a little type which prevented package from running and added functions for incremental hashing.
testing the functions with a wrapper which hashes files yields similar results to standard unix tools.