fixed indentation
added comments in main.sml and rewrote main function
Added datatype representation and changed Close token to Closed