Adds basic arithmetic methods to Quantity.java