Wohooo, bit-shifting, huh? Never got to actually USE this, I've only heard about it in university... impressive! Sounds like a good solution!

Thanks a LOT! You really helped me out!