Header and cpp file for fraction class