Added pure version of pickRandom using scalaz.State.