Answer from cs61c-ax (Amanda Alfonso 15906918) for Question 2 Yes it would work; you would just have to modify the way in which you analyze the bits (that is, make sure to take the right bits for the SPN and the left bits for the 2PN).