Add LUT

Optimize printing with a lookup table. Randomize the index to lower cache contention.
Merge pull request #1 from n00btime/patch-1

Add LUT