Erlang treasure hunt
Even though your code works I have some comments regarding Erlang style and naming conventions:


Spaces after commas and empty lines between function definitions make the code a lot more readable.
Helper functions that do the actual work are usually named with the do_ prefix. Instead of ghelper I would have named that do_get.
Using lists:nth could greatly simplify your code. The standard library includes a lot of useful functions, I try to always check if there is an existing function for what I want to do and only if there's none then I implement it.