completed week_1 homework solutions.