Peirce's Pragmatism: The Medium as Method