nybble function

Get the high or low nybble of a raw value