Updated Problem #1;
Completed Problem #2;