added check for if directory exists
added check for if directory exists

ilinum/utacm_icpc_autojudge,ilinum/utacm_icpc_autojudge,ilinum/utacm_icpc_autojudge,chenclee/utacm_icpc_autojudge,ilinum/utacm_icpc_autojudge,ilinum/utacm_icpc_autojudge,chenclee/utacm_icpc_autojudge,chenclee/utacm_icpc_autojudge,chenclee/utacm_icpc_autojudge,chenclee/utacm_icpc_autojudge,chenclee/utacm_icpc_autojudge,ilinum/utacm_icpc_autojudge