Testing Swift language using code from Jamesonquave.com tutorial