Update run-example

old code can only be ran under spark_home.
you can run anywhere after modification.