fixed returning string bug
added path analysis logic into function
Path analysis working with tests- checks there is a return statement in all possible paths in function