Initial code for arrays and password generation