ThoughtWorks Interview Question--Merchant's Guide to Galaxy