Added Julia implementation for factorial