Create worldArray.cpp

cpp file for world array class