updated main to show time taken for iteraion , render:OFF
modified to get the time taken for execution by functions.. will start with openmp