Add reverse and join methods to Array.