Update TownGenerator.java

Added prefix generation