A Detailed Introduction to String Theory