Update Costing.java

added methods to cost