CS142 - Project1 - Problem 1, 4