Added morePracticeWithDoubles. Created function toPay and test case.
Added input functionality.