finished ex11, moved code over to SExpr