Adds random element to game

Watch the indentation here.