got a multi-threading initial test done.
also added a destructor for the terainGrid