Added getRegNum() implementation to classes extending Expression.  Also added a protected field "tempReg" to Expression so that all extending classes have a "this.tempReg".