A study of structure and electronic properties of chalcopyrites semiconductor invoking Density Functional Theory