314 generate hostname

next time consider:
import string
..
string.ascii_uppercase + string.digits