Changed default constructor to taking a char array as a parameter.