Python 3 doesn't have unichr(), so added chr().