Analysis on Polish Spaces and an Introduction to Optimal Transportation