Example of array pop() method

Poped last two elements of array "arr"