Implemented nextInt