Changed to vectors in replaceAtPos, possibleNextSteps, oneUnknownOnPuzzle, listToTreeList (vectorToTreeVector) and the value t

Oskar. 40 minutes