Update tileGenerator.py

Swapped xPos and yPos and added semi colons that were missing :X