Thomas Hardy, The Mayor of Casterbridge.