Finished exercise 1.3. RMSE graph might need some extra work since the code is not very maintainable right now.