Here is a quicki for problem 5
Here is my solution for problem 7. Skipped problem 6, but created the dir for it to keep folders in chron order.