The Coffee Maker exercise - with a shell implementation