Arithmetic operations on fractions