Switched from byte to short, optimized code

I know it's a waste of memory, but Java doesn't support unsigned bytes...