Magnetic and semiconducting nanostructures Lecture notes 1-From-atom-to-bulk 2-Exchange 3-Magnetic anisotropy energy 4-Atoms at surface 5-Magnetic information storage 6-Growth Exercises