Add compact method in array
Merge pull request #1 from ozifrankly/master

Add compact method in array