Combined ifs.
Removed BOOL.
randomArray.