Solution: Sum square difference