Calculate the letter of the spanish national identity number (D.N.I.) using CoffeeScript