Brute Force maximum subarray

Created as a chapter 4 exercise. Learned about vectors in C++ along the
way.