Update main.cpp

Changed diff retargeting to every 5 blocks