added ruby solution for factorial problem