mkdir.c -p functionality working