Ulysses S Grant was one of the first presidents to write a memoir, setting a trend that most modern presidents have followed.