CS265 Final Assignment