Added header file, actually searched through the members of a set instead of the keys
One last comment