Autogenerates table JS, size selector added, generates different solutions with differents sizes, bug changing n size