Redditor creates automatic puzzle solver using MATLAB