Added rational numbers and basic GCD and LCM algorithm