cost calculation program of the marble quarries