Created the markup calculator class. Need to check assumptions, as currently tests written for the examples are not passing