Ozan interview question

Implement a foreign exchange API.