Types and functions for working with continued fractions in Julia