Simple groovy code to exchange different currencies