Simple binary classification using EM algorithm