Added reverse and shuffle methods to Array object