Pick 3 Lottery Algorithm