Completed assignement 3 of week 3