Finished the total conversion of irc-analysis.py from irc-analysis.R.