transitive dependency processing

Adds ability to handle transitive dependencies, per issue #72.