Solution for part 1 of programming assignment 2.
Solution for part 2 of programming assignment 2.
Corr function (for part 3 PA 2).
Solution for part 3 PA2.