Here is my code for HW5