implemented a hamcrest matcher to compare int arrays