fixed right shift bit operator scoping
updated tutorial 4 for that