Adnansami,
If one edge is in the second layer flipped, use whatever algorithm you were using before to put another edge into its place, then put the edge back in correctly.
This solution seems to have worked. I tried putting some another edge (anyone) in the position where I had a flipped edge. Once done, i retried putting the correct edge over that position, and this time it fitted correctly. Donno the logic behind it but it worked. Thanks a ton.
Thanks everyone for helping out.
-----
Logic
What The Algorithm Does: It inserts an edge piece into the wanted position (while keeping the first layer done). It takes out the edge piece that's already there, and put it in the top layer.
Your Mistake: You positioned the edge piece incorrectly before performing the algorithms, and it remained incorrectly positioned.
What Should Have Been Done: There are 2 algorithms for inserting edges during this step. You should have positioned it the other way, and done the other algorithm.
How Do You Take It Back Out To Try Again?: You did this by repeating the algorithm on an incorrect edge. Why? Remember, it takes out the piece already in position, and that piece was your flipped edge. So doing the algorithm again took the piece back out.
Now What? You inserted the edge correctly this time, because you positioned it correctly, and did the right algorithm.
How Do I Prevent This Mistake From Happening Again? Make the sure edge you're trying to insert lines up correctly. As in, the the color on the edge that's above the center piece should matches the center piece's color. EXAMPLE: If you want the insert the green-orange edge, and the green is facing upwards, while the orange is on the front, line up the orange on the edge with the orange center, and do the correct algorithm to insert it.
Logic-----