Lots of modifications!! :P (Gives correct output for input read from a file. Still have to do something about printing and command line arguments.
deleted a file (msg_extract.h)