new_lesson function

Create new lesson in the YAML format.