Added test case for type validation.

Added the various test cases for the input validation.
Added type validation implementation.

Added implementation for the type validation function.
Added the new functions to the Readme.

Added getType and isValidTypes to the API documentation.
Added more tests for getType.

Added test where the constructor of the datatype checked wasn't used.
Refactoring of function names.

* Renamed `isValidTypes` to `invalidTypeParams`
* Added a new `isValidTypes` that returns a Boolean
Updated Readmed.

Updated the readme to reflect the refactoring changes.
Fixed variable names

change camelcase to snake case.
Merge pull request #4 from Springworks/feature/typeValidation

Feature/type validation