wrong formula for calculating possible amount
fix calculation of amount of jam that can be made
Merge pull request #1 from DM13B/calculate-amount

Calculate amount