Graph data structure 12th commit.

- Use Eucledian weight.