added time measurement
added the non-numpy computation , added a showResult() function