Added build script

Run using ./build to compile files.