Arrays updated to vector-  homework week 4 complete