added a new js file to merge with current. Set size of table
dunno what I changed
adding new function to fill empty matrix spaces