Description of my solution for the PML Coursera assignment