JHU MOOC assignment 1