Mark Twain used the word nigger because the people who he was writing about used the word nigger.