--- from: http://rosettacode.org/wiki/Greedy_algorithm_for_Egyptian_fractions