Algorithms and marijuana