Added int y.
Added ArrayList arr.