Add working functions.
Replace tabs with spaces, for better display in github.
Include some minimum reproducible examples, with benchmarking.
Document the assignment with comments in the R file.