added some of my codes -some algorithms wrote in cpp