what did chester arthur do before he was president?