Experimented with writing tests for Junit4. Fixed ArrayOutOfBounds
exception in getRandomNumberArray.