Solved the first part of problem 17 and made wording change to problem 20