Luhn Alogrithm in Ruby