some examples I made for c and c++ learning