Swift Random Value

0 – 10 random integer

var val = Int(arc4random()) % 11