c extension sample for ruby gems