Replace scanf with getchar

The 'scanf' used in APHeader.c leaves a newline '\n' in the stdin
buffer that gets picked up by the next getchar() call. This
renders the calls to getchar() in BinExtractor.c to return \n
instead of y|Y or n|N