Stanford cs106b c++ lecture assignment1