implemented a currency converter - convertCurrencies function