recursion problems - string permutation, path to get to step n, basketball points