Completed Assignment5.