Create buildcluster.sh

Shell script to build the code.
Can be build in debug mode (prints debug info) or in optimised mode.