How do you construct a likelihood function, and how does Maximum A Posteriori (MAP) estimation differ from Maximum Likelihood Estimation (MLE)?