Coursera: Completed assignment 3