Setting up a random map generator and the main activity.