Syntax edits, readability, and a couple of small bugs

Faction now uses a set, code has also been partially made confident
(Issue #8). NPC had the wrong attr_accessor; fixed

Also some minor documentation formatting.