fixed npc_equals comparing the wrong variable
added -Wextra to makefile