updated the OpenCV version from 2.3.1 to 2.4.6.1 & added shell script to easily compile and run the code