Extremal And Ramsey Problems