solved factorial in c,py,java