Sketched out algorithm and wrote E step