add solution for factorial