Update Reading Input From Current Working Directory and Add Few Comment On Each Function