Pseudo solver for job shop problems, made in ruby on rails