API/potential/potential.java ---finish designing function-computeDiscount and fill all function into doGet