I found an algo on the net which I tried to implement.
Here is the URL:
http://hopper.unco.edu/KARNAUGH/Algorithm.html
I implemented most of it except the last step.
Pls help.
Edit: I am uploading the algo.