https://levelup.gitconnected.com/sum-of-squares-a-python-guide-to-calculating-the-sum-of-squares-of-numbers-30b4b5f007f2