Problems 6-9 done