beginning to translate Bk 2 ch 1 examples into Swift