Completing world section logic using Gap,generating candy patterns