Adding code for the gist of the day.