Non recursive factorial sample; fibonacci sample