Fixed multiple threads accessing the same array
Added concurrency to the verify example