Added isStopWord function.