update for  project #1 ,uses iostream instead of stdio.h , rebuild the algorithm of check on the correct value of variable from the stream , fixed some bugs,updated README.md