Codeigniter Helper to generate random pin