Some programming concepts with sml