Added backtracking solving algorithm, contains error