Essay on instinct and its physical and moral relations