Finished SML probs 1 & 2