Add greedy method

Added greedy method to add an edge to the path that will create the
shortest distance