modify equal test for franc and dollar both

modify equal test for franc and dollar for equality using money class