Fix infinite recursion for cyclic deps

Fixes #13 (https://github.com/naiquevin/pipdeptree/issues/13)