4 function RPN calculator for ledger files, using the the C ledger's python interface