Added temp dir create function

Function to create a temp dir to use as work dir was added to utils.