project I did for school working with one dimensional arrays