Fixed ordering in 1, added part B
Problem 5
Problem 6
Problem 3
Minor whitespace changes for clarity