Add a basic erlang solution
Add a basic R solution

This could definitely be cleaner/better. I'm not much of an R
programmer.
Add R .gitignore
Merge pull request #6 from RadicalZephyr/master

Add erlang and R implementations