Python implementation of XKCD's bucket, for use with IRC bot Willie