CS problem set solutions