Ball class added with create algorithm