rename file and add more functions to its content
finish M-step and E-step