An Introduction to Social Networks