Implemented 'tail', 'last' functionality