Revised solutions for Arrays lab