My Codes for Algorithms,Part I