Factorial Function and Sample Index page for Showcase