Use the and operand to get the second nibble of flags
Merge pull request #1 from cozybit/master

Use the binary "and" operator to get the second nibble of flags