Added exception classes.
Added interface for number generator.
Added some tests for Number Generator.
Added NumberGenerator implementation.