compil complete

Just got the compil working. Compiles using g++ and compiles the
specified code to a.out. testmain.cpp and mytest.h are just used for
testing purposes.. needs to be changed for final version.