Tidied sg_shape.py

Moved sg_shape_test.txt to directory tests
Tidied sg_shape_test.txt, especially string formatting