all probs implemented. Prob 5 only compares top level of frame
up to prob9 on hw2