Added important words and improved importantWords vector iteration