Added problem 9: special pythagorean theorums.

Issue: doesn't work as intended!