added createPointer function which creates a pointer directry from an information of integer
expr2tree now accepts character/string