Macbook Pro 13 inch. randomly freezes with glitchy screen and trys to restarts but keeps beeping
I have a 13 inch. MacBook Pro (purchased in Nov. 2012) and for two years it worked just fine and then one day all of a sudden its screen started to behave in a weird way. I made a small video of my Mac's screen, check it out: https://youtu.be/Ks4wCXj34EA
As you can see in the video there are some small vertical lines on the screen which seem to occur at random positions to me. Whenever this happens the computer stops working and after a while either it would automatically try to restart or I have to force shut it down. If it restarts by itself sometimes it would work fine and sometimes it would start to beep and won't start again. And if I am lucky it would start after I tap its back using my hand for a while.
I took my MacBook Pro to an Authorised service centre in my city and they charged a fee of 75 Euros for diagnosing the problem and even after running several diagnostic tests they couldn't find anything wrong with it and returned it back to me after a few weeks. I checked it. It worked fine. When I brought it back to my home and tried to start it again, it didn't start, instead it started to beep again. I immediately took it back to the service centre and made them hear the beep, they accepted that there is some problem and again kept my Mac with them for another week or two. After that it worked fine for a few days, I don't know what they did, they didn't charge me for anything else. The same thing started happening again. All this trouble and the problem still persists. Even the technician at the Apple authorised service centre doesn't know what is wrong with my Mac.
I read the "MacBook Pro Repair Extension Program for Video Issues" and I found that 13 inch. MacBook Pro isn't covered in this. So it must be some other issue then.
Let me know if you guys experienced the same problem or if you could think of a solution to this problem.
MacBook Pro, OS X Yosemite (10.10.4)