My simple codes and algorithms