The Euroschool lectures on physics with exotic beams