Problem 3 and 5 commit
Complete Problem 5