opencv example code for beginning