defining coin class and dictionary
defining value
defining toOneDollar
creating companion object