Update hw1.sml

fixing comments and some redundancy