Added validation of random generated table code, so that two codes wont collide, since they are both randomized