Solved Problems 4 to 8. Added shell scripts to compile and execute (including unitary tests)