renaming wordladder.buildgraph: start->source, end->sink