Added record sample along with erl that includes the header file