A console app to solve the merchant of space problem.