Create HW2 Code

This is my code from working on the 2nd Time Series homework. I didn't do the auto selection techniques, but that was just copying and pasting from the code we did in class anyways.