util python
use i instead of j, int two level loops, will show ArrayOutOfRange error