Adding functionality

mostly for functionality sake.
state space search and 2-3 trees