added copy of xkcd gen for python file