subtract work & learned after recursive call in hw2/backtracking to fix function