Add spoj.com/problems/PALIN solution

Added solution of the 26th week problem.