Implement FlagAttribute for enum.
Add test case for FlagAttribute.
Update README.