creating a checkpoint dir and moving c code to checkpoint folder