Added Random number class

Added random number class and changed all random number generation in
tileClass to use the new random number class.