Second attempt at Bob in swift.

o Use an exstension for String.
o Play around with ternary if.