Makes getFlagString more efficient. Addresses issue #23
Passes TestAccess_String now and fixes #23.
Merge pull request #27 from zamN/master

Fix #23

Optimizes getFlagString.