Examples added, recursion problem fixed