Ah, quite smart solution, i'm impressed. :D
Also, almost forgot to mention: The filling buttons were one of my favourite design decisions.
Dang, that was quick! Thanks for the technical explanation too, that was unexpected. :)
I don't understand it completely, but it sounds like you use arrays to store numbers in order to avoid issues with big numbers?