steps in writing a term paper