new opts: n (number of balls), and style (0,1,2,3)
0.2.0