Code demonstrating means of gridding scattered data