wc.c code cleanup and test against freebsd wc.c