Erlang Compile and Call Function