added cmd line adders to factorial