Add puzzle solving api