Basic scheme implemented on top of erlang