fix typo resulting in wrong calculation result
refactored mixed vulgar fraction print and tidy