Panasonic interview question

write a function about factorial