Made template for HW4 a variable that the user must specify, rather than hard-coding it.