Computational materials science via density functional theory: General introduction and success stories