Updated backtrack.m, added all the code
Merge pull request #3 from fredrickleber/patch-2

Updated backtrack.m, added all the code