This is a programming assignment for Coursera class