CS170 Project 3