This program use extensive use of the array operations and array functions.
The ball rotation is jurk on Android 4.0.3 tablet
Runs well on Android 6.0 phone, 8.1 tablet, x.x (P) phone
BASIC 7.x really struggles running this version.
My goal is to have this program run smoothly on my 4.0.3 tablet.
There is a problem at the end of the program, it changing to portrait.
I think it has something to do with locking the screen rotation.
I put a fill circle to clear a group of balls to reduce flashing.
The screen flashing is caused by the screen not getting completing draw before
sort() is not working BigDecimal or BigInteger.