Update collatz.erl

There is no modulus operator in Erlang! Which makes sense given what Erlang is for. It's not hard to implement anyway given the language's native cababilities. I don't know that using guards is the best thing, but it's straightforward enough that it's not worth really worrying about.