Chapter 9: Modified Dollar.java

- Modified the constructor and added currency string also.
- Called the super constructor in the parameterized constructor.
- Called the static factory method in the times method.
- Added a method currency.