Oh, and if anyone's interested and wants to play with it, I can post my script here. But sorry, it's in Haskell.

Yes, please be so kind and post your scrpt.
[I'll happily send you a decent donation once I start mining with my (day 1) Jupiters

.]
Many thanks for sharing your insight.