11-785 Homework 0: Coding exercises