Homework for LAB8

Just needed to correct the code a bit, I just noticed that I forgot a '*' in the code, but its fixed now so here's my homework.