CSE22124's submissions for Reverse a string