Factorial Code Using Function Keys