Added default implementations for predecessors and successors.
Minor refactoring.
Refactoring.
Fully implemented WeightedGraph type class.
Defined some auxiliary functions and a data type shared by both test in an extra file.
Commented the testing functions.
Explicit export declarations.
Changed version to 0.2 because now weighted graphs are supported.