added two new examples, fixed the factorial and removed some old ones