break up complement.c into bfun.c, bfun.h, and main.c
add parser file with function stubs
use stdin rather than an input file
move bfun tests in main to separate function