path independence and duplication

- changed the persistent homology computation function in order for it
to be independent of absolute path; javaplex java library will be
distributed within the package from now on
- added duplicate_graph function to be used for persistent homology of
directed graphs (e.g. Markov chains)