Adds randomize() method to Engine.java.

Adds randomize() method to Engine.java.
The method randomizes numbers from 1-2
for the game.