DIMACS file parser for Erlang