Homework

resubmitting homework with filename change and slightly updated code.