who wrote common sense and what was its purpose