Added the naive Class S algorithm from the paper