created file foobar.jl which has sketched out code for converting the likelihood of each Ai and the total log-likelihood, as well as for discretizing distribution.