Adding getEquation method which returns a String describing the equation