code for fraction math, reduce(), add(), ints()

sending pull request for fractions to the correct branch