Added outgoingEdgesOf(source): returns a set of all outgoing edges from given source.
Added precondition to addEdge(), which prevents adding generated weighted edges to unweighted graphs.

few naming corrections.