test.prop function

Hypothesis test for a proportion