Problem 5 & 7 updated to current and working versions.
Fixed Problem 5 & Problem 7 to work correctly.