learning to code in swift for @theCodePath, via a simple tip calculator