My attempt to solve the datasciencecoursera