Pop

Simplified the 'get_last' routine that returns the last element of an array.
We just use pop() now.