move number generation in separate method
add Segment control to select Bezier or straight curve.
fix position of segment for iPhone 4
cleanup
Merge pull request #76 from skywinder/sampleImprovments

Add segment to select Bezier or straight line on sample app