function 'last' added.

last() will return the key from the last edited token.