Added the bulk of the code for the diffHic package.