modified npc goal routines; added a few more generic types
added knight.xpm file
path-finding functions moved to direction.cc