Create a class Rational Number (fractions) with mentioned capabilities