Adding factorial problem