Update and rename findMode to findMode.c++