Code for Coursera assignments and related utilities