repo for 1st assignment on coursera (2nd attempt)