Introduction to Mori theory