check if one string is part of another among 2 strings
iterative and recursive factorial program