Added nextboolean to random class.