Add Standard ML functor file sample

and adjust spacing in existing Standard ML samples.