Changes syntaxi of char *error_msg[] to char **error_msg and works using pointer arithmetics.
Sets up errno and return value from write system call using bithacks.
Some changes on code style.
Some TODOs added/removed
New tests of write system call added on user.c.