Finished the second method

Finished the second portion of the assignment