CS222 proj1