updated the toString method in Lesson in order to reflect its rendering in lists accurately