Linked OpenCV 2.4.10 and made a simple main funciton for testing