Problem two corrected. Problem five complete