Started work on dynamic solver.
Added a backtracking dynamic algorithm.

This one currently is extremely slow for large values of N. This is
mostly because it expands its nodes DFS-style. In the future, it will
be rewritten to do a "Best-first" search using priority queues.