Adding implementation of setLastName() method.