add some array methods
Merge pull request #53 from kostya/array

add some array methods