Introduction to quantum theory