Lecture 2: From cores to stars