Update squaredcirclepattern.cpp

Fix the hard code of pattern size in function: getNNOrder.