Implemented puzzle solving in the web page