Implemented Swift shell file version of challenge 193