Completed Assignment 1 for CS193P
Added private API comment