Library of classes and function that allows to work with fractions