added function to get currency symbol based on code