Implementation of a basic decision tree learner written in CoffeeScript