Implemented the getType() method just for the += operator.

Also implemented the getValue() method just for the += operator and the case where the two are values are numbers.