path mod 2

This is a retake assignment. I have attached the feedback from the professor. Please only correct what needs to be fixed on the assignment based on the professors feedback. They are highlighted.