A currency converter built in Java