Finished Programming Exercises

If there's time, go back and re-implement loops vectorially if possible,
clean up and comment code and review.