adding problem description for problem 51
problem 51 solved again
problem 59 solved with brute force