what was chester arthur's job before president?