Italian "codice fiscale" algorithm, erlang implementation