fixed bugs. can add random tiles and reset