hw2.sml