Compute transaction fees from a CSV string | Stripe Interview Question