Adding code and summary for session 4.