Loops Assignment-Final

Final edits made to code, submitted