Following tutorial to make a drawing app in Swift