add running time

It seems "time" and "exec" do not work well together. So, I just add a time monitor in the Lasso_ps.java and HelloWorld.java