Learning swift by creating a Tetris clone