added depth first search and the option for a diagonal or no tiebreaker
for A*