Updated files, added functionality

Added node.py to create nodes with parents and states. Finished coding
BF except for expand.