Apple Game Frameworks and Technologies: Distance calc could be simpler for this point of the book (p 54)