Lab 4 for CS111 @ UCLA.