Added code for last tutorial section on fields and methods.