Update pseudocode and initial solution