arc4random for selecting random indices intend of rand()