THE SANDPILE & SMITH GROUPS OF CERTAIN CLASSES OF GRAPHS