tried to do wraparound bouncing ball array

it didnt work