mayor of casterbridge analysis