my Practice codes for algorithm implementation