recursive factorial method in ruby