Toy shell implemented in Swift