break add stopwords out into a subroutine

Signed-off-by: Caleb Cushing <xenoterracide@gmail.com>
add some comments

Signed-off-by: Caleb Cushing <xenoterracide@gmail.com>