Made core_algorithm a package.
Added exceptions.py .
Added a utility function get_corpus_path so I can test individual files without
invoking tests.sh .

This is not a package anymore.
Made use of get_corpus_path in test cases.