Assignment 6: Completed Core Data for recently viewed photos.