class bouncy ball

using array