I\'m working on a script, in which i have to get the first bit in a lot of integers.
In the following examples val is an integer between 0 and 255
val