Introduction to general relativity