Lecture 1 and 2 copied to new template, handle print statements in editor