added Sum Square Difference solution