Create largestRec.cpp

although too tedious than yours