MathWorks interview question

Implement a fraction class with add multiplication subtraction functionalities