add reader.h and reader.c which provide functions to open and close input
stream as well as read each character of the input stream.
Merge branch 'master' of https://github.com/vinhnguyenict/Semantics-201