assignment2 submission for coursera