Added RandomInt Method

Added a method for generating random integers of a given length.