#update - fixes syntax and semantics, Swift-fy code, removes unnecessary semicolons
Merge pull request #1 from rynecheow/master

fixes syntax and semantics