for DSA Assigmentg