Homework 2 of CS-169.1x Class.