well that took way too long
spend an hour trying to figure stuff out, realize there's a + where there should be a *. Also C++ is really weird.
finished part 2