CS184 Startup course homework 3