Function for creating playing field