Assignment for coursera class