now ignores /r and /n in inputs, passes most PRIVMSG tests
removed some debugging output. made sure only lines with characters are parsed
sped up program
tidied up code, removed debugging output