Solution to problem 3 .

Given 2 strings, check if one is a permutation to the other.