an unfinished attempt at balls bouncing through array