Applications Of Ergodic Theory To Number Theory And Additive Combinatorics