collection of algorithms I have studied and written in Javascript and Scala