Fixed issue #80.

Negative-weighted cycle test added =)