Study code from Coursera Programming Languages course