out file cleaning and print bug fix

Removed a.out file from repo and fixed a small print bug which would
have been a problem with min spanning trees using negative weight
edges.