Worked on problem 28

Converted array to bool, which *should* fit into the default 1MB stack size. Calculating sum on the fly as well. If that doesn't work, we'll switch everything over to std::bitset instead.