Problem 1 Done. Working on Problem 2