Game of life made in erlang