"Pusoy dos" originally written for Python, to be rewritten for VBA in MS Excel.