first leetcode program,  .cpp files go into src dir.