Added solution to problem 6 ("Sum square difference")