Create findLongestAP.cpp