Parse money into rupee and paise
Money.java is the final working code