Compiled code, but not working properly.
The input mechanism just does not work. I need to figure out a way to clean the stdin
buffer once I have gotten the required number of characters from it, to the allocated memory
location. Somehoe , the stray new line characters from previous read operations on the stdin
buffer keep interfering with the next reads. I tried fflush(stdin) but that didn't work
either.