added abs(), negate(), clear and returnFraction() + refactoring