Random number generator for 4 digits