Added and completed problem 6, sum square difference.