Added some testing stuff (get floating point exception)

Added Pthreads code snippets (get floating point exception)