Homework assignments with SML