Adding functions as a protocol NumeralExtension on Int and Double