Added solution to Problem 6: Sum square difference.