I would like to modify a list that has 3 types of numbers [0, 1, 2]
Each 0 should be replaced with either the last 1 or 2 depending on which was most recent during th