added FooA with compiled code

FooA returns factorial of x.