Changed var attribute to be of type Symbol. Added constructors for String and Char as well. Added tests to validate constructors