Code to creat layout for the game