Added function to discern data type.
Merge pull request #99 from salspaugh/datatype

Added function to discern data type.