implemented right shift by 15

Needed for nextInt