Finished lab3 part1 now adds to correct value