Create Equation class