Implementation of EM Algorithm for my Machine Learning Assignment