Model Checking Java Programs With Arrays