adding core files for part 3 of the assignment.