problem 28 implemented with test
Problem 29 implemented with test
Problem 30 implemented with test

I don’t really like how I have to hard code the upper limit on this one… will come back to it later to work for ANY nth-degree. Also, it’s going to be slow, probably, for much larger degrees