A collection of introductory codes to c++