fixed join tile, str() to format

fix for putting empty tiles in machine crashing  the game