Add test program for the curvilinear grid

We add the test program for testing the functionality of the
CurvilinearGrid