Introduction to nuclear reactor theory