Python implementation of fortune.