Update graph to use larger numbers
Add greedy algorithm