Adding new functions for isSquare() isHeptagonal() and isOctagonal()
Adding functions to test new functions.