created interval class

interval class for choosing random numbers
current distributions: normal, uniform, constant, custom.