Backtrack

basic feature of backtracking, bug exists