prototype testing for mkdir()