Fixed Formatting for Problem 1

Fixed Formatting for Problem 1
Commit for Problem 2

Files for Problem 2