Merge pull request #8 from mackoel/master

Autotools build files included
cleaned up main
changed forward lists to vectors in graph
boundary term is now a metric
added ability to get and set arc weight explicitly

To use this you must know the exact position of node in the neighbour
list.
fixed a typo, which caused incorrect behavior
made use of new fast getters and setters
added one more argument
increased contribution from a boundary term