programming languanges (coursera) week-1 homework.