created compile.sh to facilitate compilation.