added diamond square test implemendation (dstest.c)