ESP8266 Wifi module

From last a couple of weeks I am trying to use my esp 8266 e-01 as a wifi shield for my arduino uno .I am totally new to this.After watching videos and reading some article I ended up connecting my esp in the following way using a 9V battery:

GND - GND
VCC - 3.3V(Using AMS 3.3 11117 Voltage divider)
CH_PD - CONNECTED TO VCC IN BREADBOARD
GPIO0 - GND
RST - GND
TX - PIN 6(Arduino uno)
RX - PIN 7(Arduino Uno ,USING LM317T VOLTAGE DIVIDER TO STEP DOWN TO 3.2V)
(TX AND RX PINS MATCHED THE PINS MENTIONED IN CODE)

And I am using a library called WifiEsp

But when I connect my esp to arduino uno and run my code. In the serial monitor I notice this error:

[WiFiEsp] Initializing ESP module
[WiFiEsp] >>> TIMEOUT >>>
[WiFiEsp] >>> TIMEOUT >>>
[WiFiEsp] >>> TIMEOUT >>>
[WiFiEsp] >>> TIMEOUT >>>
[WiFiEsp] >>> TIMEOUT >>>
[WiFiEsp] Cannot initialize ESP module

And only my red and blue light are lighted up on my esp.
I do not know what am I doing wrong ,I am totally new to this so can anyone guide me with this
and tell me what do I need to correct?.I just want to use my esp 8266 as a wifi shield for my arduino uno

Did you change the baud rate of your ESP8266 to 9600? They come set for 115200 but you can't reliably use software serial at that speed so the WiFiEsp example sketches set their software serial speed at 9600. You need to send the correct AT command to the ESP8266 to change it from 115200 to 9600 before it will work with your current hardware configuration.

gpio 0 low is bootloader mode

If you are using a 9 v 6F22 battery, do not. Has enough current for maybe 5 minutes. 4 standard AA alkaline 1.5V batteries works for me. Or USB, or wall socket.

Does the ESP8266 have the AT core loaded?

pert:
Did you change the baud rate of your ESP8266 to 9600? They come set for 115200 but you can't reliably use software serial at that speed so the WiFiEsp example sketches set their software serial speed at 9600. You need to send the correct AT command to the ESP8266 to change it from 115200 to 9600 before it will work with your current hardware configuration.

No I did not change the baud rate it is set to 115200

Do you need help changing the baud rate?

pert:
Do you need help changing the baud rate?

I need help in setting up the esp 8266 ,I even don't know whether the wiring which have I mentioned above is correct or not,besides that I even do not know how to run AT commands and what wires are required to be connected to make the AT commands work.In the meantime I tried to run at commands,I just ran an empty sketch from arduino ide. It did not work .When I opened the serial monitor It was empty ,but when I connected the gpio0 pin to ground ,
there was only question marks on my screen I cannot understand what is going on.