adapted to demonstrate difference between arithmetic vs logical shift