added operator== in flags and added a README.md