Tennis kata using swift with single view UI