Changed arguments of callback to return array
Merge pull request #50 from rajatkhanna82/matchArray

Match array