Code for STA 250 (UC Davis, Fall 2013)