Coursera: Completed assignment 4