Rewrote the tutorial files with Swift syntax and explanations