Little codes for practicing c++