Data source: http://rosettacode.org/wiki/Continued_fraction
