working on quiz, fourth commit

Problems 5 and 6