Completed the assignment and tested the code.