My assignment attempt from Coursera Programming Languages course