Updated Homework 6 R solution with the correct files.