tested array

added variables
tested for true and false threw prompt input