Coursera: Completed assignment 6