removed pipes comment -- everyone knows what pipes are
added space and newline strippers...
use int not char for input
of course, these utils are pointless