Added top-level learn_erlang function.