Forgot to make the random selector class public.
Made public
Fixed out of range exception