Add code

Add several classes: backtrack, heuristic, search, etc.