creating puzzle table